from django.conf.urls import url

from apps.users.views import UserCenterInfoViews,UploadImageView,ResetpwdView,MyCourseView, \
    UserFavCourseView,UserTeacherOrgView,UserFavOrgView,EmailSendView,EmailRegisterView,MessageView

urlpatterns = [
    url(r'^info/$', UserCenterInfoViews.as_view(), name='info'),
    url(r'^image/upload/$', UploadImageView.as_view(), name='image'),
    url(r'^pwd/$', ResetpwdView.as_view(), name='pwd'),
    url(r'^course/$', MyCourseView.as_view(), name='course'),
    url(r'^course_fav/$', UserFavCourseView.as_view(), name='course_fav'),
    url(r'^org_fav/$', UserFavOrgView.as_view(), name='org_fav'),
    url(r'^teacher_fav/$', UserTeacherOrgView.as_view(), name='teacher_fav'),
    url(r'^send_email/$', EmailSendView.as_view(), name='send_email'),
    url(r'^update_email/$', EmailRegisterView.as_view(), name='update_email'),
    url(r'^message/$', MessageView.as_view(), name='message'),

]